﻿namespace FFF.Test.Entity.FW.Dto
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Application.Services.Dto;
    using Abp.AutoMapper;
    using FFF.Test.Entity.Framework.Dto;
    using FFF.Test.Entity.FW.View;       

	/// <summary>
    /// 用户模块配置表展示时候的dto
    /// </summary>
	[AutoMapFrom(typeof(FWUserFunctionSetEntity))] 
    public partial class FWUserFunctionSetDto :  BaseEntityDto<Guid>
    {
		/// <summary>
        /// 用户的GUID
        /// </summary>
		[Display(Name = "用户的GUID", Description = "用户的GUID")]
        [Column("UserGUID")]
        public Guid? UserGUID { get; set; }
        
		/// <summary>
        /// 模块的GUID
        /// </summary>
		[Display(Name = "模块的GUID", Description = "模块的GUID")]
        [Column("FunctionGUID")]
        public Guid? FunctionGUID { get; set; }
        
		/// <summary>
        /// 是否为站内模块
        /// </summary>
		[Display(Name = "是否为站内模块", Description = "是否为站内模块")]
        [Column("IsSiteInner")]
        public byte? IsSiteInner { get; set; }
        
		/// <summary>
        /// 模块地址
        /// </summary>
		[Display(Name = "模块地址", Description = "模块地址")]
        [Column("UserFunctionSetUrl")]
		[StringLength(256)]
        public string UserFunctionSetUrl { get; set; }
        
		/// <summary>
        /// 模块的名称
        /// </summary>
		[Display(Name = "模块的名称", Description = "模块的名称")]
        [Column("UserFunctionSetName")]
		[StringLength(256)]
        public string UserFunctionSetName { get; set; }
        
		/// <summary>
        /// 是否在浏览器打开
        /// </summary>
		[Display(Name = "是否在浏览器打开", Description = "是否在浏览器打开")]
        [Column("IsBroswerOpen")]
        public byte? IsBroswerOpen { get; set; }
        
		/// <summary>
        /// 系否为系统级别的
        /// </summary>
		[Display(Name = "系否为系统级别的", Description = "系否为系统级别的")]
        [Column("UserFunctionSetIsSystem")]
        public byte? UserFunctionSetIsSystem { get; set; }
        
		/// <summary>
        /// 排序号(int类型)
        /// </summary>
		[Display(Name = "排序号(int类型)", Description = "排序号(int类型)")]
        [Column("UserFunctionSetSort")]
        public int? UserFunctionSetSort { get; set; }
        
		/// <summary>
        /// 存储外部站点的icon
        /// </summary>
		[Display(Name = "存储外部站点的icon", Description = "存储外部站点的icon")]
        [Column("UserFunctionSetSiteIcon")]
		[StringLength(256)]
        public string UserFunctionSetSiteIcon { get; set; }
        
		/// <summary>
        /// 功能菜单的拼音
        /// </summary>
		[Display(Name = "功能菜单的拼音", Description = "功能菜单的拼音")]
        [Column("FunctionSetPinYin")]
		[StringLength(256)]
        public string FunctionSetPinYin { get; set; }
        
		/// <summary>
        /// 功能菜单首字母缩写
        /// </summary>
		[Display(Name = "功能菜单首字母缩写", Description = "功能菜单首字母缩写")]
        [Column("FunctionSetFirstLeShort")]
		[StringLength(256)]
        public string FunctionSetFirstLeShort { get; set; }
        
    }
    
    /// <summary>
    /// 用户模块配置表新增时候的dto
    /// </summary>
	[AutoMap(typeof(FWUserFunctionSetEntity))]
    [AutoMapFrom(typeof(ViewFWUserFunctionSet))] 
    public partial class FWUserFunctionSetCreateInputDto : BaseEntityDto<Guid>
    {
		/// <summary>
        /// 用户的GUID
        /// </summary>
		[Display(Name = "用户的GUID", Description = "用户的GUID")]
        [Column("UserGUID")]
        public Guid? UserGUID { get; set; }
        
		/// <summary>
        /// 模块的GUID
        /// </summary>
		[Display(Name = "模块的GUID", Description = "模块的GUID")]
        [Column("FunctionGUID")]
        public Guid? FunctionGUID { get; set; }
        
		/// <summary>
        /// 是否为站内模块
        /// </summary>
		[Display(Name = "是否为站内模块", Description = "是否为站内模块")]
        [Column("IsSiteInner")]
        public byte? IsSiteInner { get; set; }
        
		/// <summary>
        /// 模块地址
        /// </summary>
		[Display(Name = "模块地址", Description = "模块地址")]
        [Column("UserFunctionSetUrl")]
		[StringLength(256)]
        public string UserFunctionSetUrl { get; set; }
        
		/// <summary>
        /// 模块的名称
        /// </summary>
		[Display(Name = "模块的名称", Description = "模块的名称")]
        [Column("UserFunctionSetName")]
		[StringLength(256)]
        public string UserFunctionSetName { get; set; }
        
		/// <summary>
        /// 是否在浏览器打开
        /// </summary>
		[Display(Name = "是否在浏览器打开", Description = "是否在浏览器打开")]
        [Column("IsBroswerOpen")]
        public byte? IsBroswerOpen { get; set; }
        
		/// <summary>
        /// 系否为系统级别的
        /// </summary>
		[Display(Name = "系否为系统级别的", Description = "系否为系统级别的")]
        [Column("UserFunctionSetIsSystem")]
        public byte? UserFunctionSetIsSystem { get; set; }
        
		/// <summary>
        /// 排序号(int类型)
        /// </summary>
		[Display(Name = "排序号(int类型)", Description = "排序号(int类型)")]
        [Column("UserFunctionSetSort")]
        public int? UserFunctionSetSort { get; set; }
        
		/// <summary>
        /// 存储外部站点的icon
        /// </summary>
		[Display(Name = "存储外部站点的icon", Description = "存储外部站点的icon")]
        [Column("UserFunctionSetSiteIcon")]
		[StringLength(256)]
        public string UserFunctionSetSiteIcon { get; set; }
        
		/// <summary>
        /// 功能菜单的拼音
        /// </summary>
		[Display(Name = "功能菜单的拼音", Description = "功能菜单的拼音")]
        [Column("FunctionSetPinYin")]
		[StringLength(256)]
        public string FunctionSetPinYin { get; set; }
        
		/// <summary>
        /// 功能菜单首字母缩写
        /// </summary>
		[Display(Name = "功能菜单首字母缩写", Description = "功能菜单首字母缩写")]
        [Column("FunctionSetFirstLeShort")]
		[StringLength(256)]
        public string FunctionSetFirstLeShort { get; set; }
        
    }
     
     /// <summary>
    /// 用户模块配置表更新时候Dto
    /// </summary>
	[AutoMap(typeof(FWUserFunctionSetEntity))]
    [AutoMapFrom(typeof(ViewFWUserFunctionSet))] 
    public partial class FWUserFunctionSetUpdateInputDto : BaseEntityDto<Guid>
    {
		/// <summary>
        /// 用户的GUID
        /// </summary>
		[Display(Name = "用户的GUID", Description = "用户的GUID")]
        [Column("UserGUID")]
        public Guid? UserGUID { get; set; }
        
		/// <summary>
        /// 模块的GUID
        /// </summary>
		[Display(Name = "模块的GUID", Description = "模块的GUID")]
        [Column("FunctionGUID")]
        public Guid? FunctionGUID { get; set; }
        
		/// <summary>
        /// 是否为站内模块
        /// </summary>
		[Display(Name = "是否为站内模块", Description = "是否为站内模块")]
        [Column("IsSiteInner")]
        public byte? IsSiteInner { get; set; }
        
		/// <summary>
        /// 模块地址
        /// </summary>
		[Display(Name = "模块地址", Description = "模块地址")]
        [Column("UserFunctionSetUrl")]
		[StringLength(256)]
        public string UserFunctionSetUrl { get; set; }
        
		/// <summary>
        /// 模块的名称
        /// </summary>
		[Display(Name = "模块的名称", Description = "模块的名称")]
        [Column("UserFunctionSetName")]
		[StringLength(256)]
        public string UserFunctionSetName { get; set; }
        
		/// <summary>
        /// 是否在浏览器打开
        /// </summary>
		[Display(Name = "是否在浏览器打开", Description = "是否在浏览器打开")]
        [Column("IsBroswerOpen")]
        public byte? IsBroswerOpen { get; set; }
        
		/// <summary>
        /// 系否为系统级别的
        /// </summary>
		[Display(Name = "系否为系统级别的", Description = "系否为系统级别的")]
        [Column("UserFunctionSetIsSystem")]
        public byte? UserFunctionSetIsSystem { get; set; }
        
		/// <summary>
        /// 排序号(int类型)
        /// </summary>
		[Display(Name = "排序号(int类型)", Description = "排序号(int类型)")]
        [Column("UserFunctionSetSort")]
        public int? UserFunctionSetSort { get; set; }
        
		/// <summary>
        /// 存储外部站点的icon
        /// </summary>
		[Display(Name = "存储外部站点的icon", Description = "存储外部站点的icon")]
        [Column("UserFunctionSetSiteIcon")]
		[StringLength(256)]
        public string UserFunctionSetSiteIcon { get; set; }
        
		/// <summary>
        /// 功能菜单的拼音
        /// </summary>
		[Display(Name = "功能菜单的拼音", Description = "功能菜单的拼音")]
        [Column("FunctionSetPinYin")]
		[StringLength(256)]
        public string FunctionSetPinYin { get; set; }
        
		/// <summary>
        /// 功能菜单首字母缩写
        /// </summary>
		[Display(Name = "功能菜单首字母缩写", Description = "功能菜单首字母缩写")]
        [Column("FunctionSetFirstLeShort")]
		[StringLength(256)]
        public string FunctionSetFirstLeShort { get; set; }
        
    }
}
